using System.ComponentModel;

namespace System
{
    public class ProgressChangedEventArgs<T> : ProgressChangedEventArgs
    {
        public ProgressChangedEventArgs(int progressPercentage, object userState, T data)
            : base(progressPercentage, userState)
        {
            Data = data;
        }

        /// <summary>
        /// Custom data to describe progress.
        /// </summary>
        public T Data { get; private set; }
    }
}